<?
	$appId = $this->aDatos[$cTemplateId][appId];
	$appTitle = $this->aDatos[$cTemplateId][title];
	$url = $this->aDatos[$cTemplateId][url];
	$xId = $this->aDatos[$cTemplateId][xId];
?>
<div  xmlns="http://www.w3.org/1999/xhtml"    xmlns:fb="http://www.facebook.com/2008/fbml" >
	<p><fb:comments url="<?=$url?>" title="Comenta" xid="<?= $xId ?>" title="<?= $appTitle ?>"></fb:comments></p>

	<div id="fb-root"></div>
	<script>
	  window.fbAsyncInit = function() {
		FB.init({appId: '<?=$appId?>', status: true, cookie: true,
				 xfbml: true});
	  };
	  (function() {
		var e = document.createElement('script');
		e.type = 'text/javascript';
		e.src = document.location.protocol +
		  '//connect.facebook.net/es_LA/all.js';
		e.async = true;
		document.getElementById('fb-root').appendChild(e);
	  }());
	</script>
</div>